import { Get_Broker, Add_Broker, Editor_Broker,Editor_broker } from "../actionsType";

const Brokers = {
    getBroker: (data) => {
        return {
            type: Get_Broker,
            payload: data,
        }
    },
    addBroker: (data) => {
        return {
            type: Add_Broker,
            payload: data,
        }
    },
    editorBroker: (data) => {
        return {
            type: Editor_Broker,
            payload: data,
        }
    },
    editorbroker: (data) => {
        return {
            type: Editor_broker,
            payload: data,
        }
    },
}

export default Brokers;